import request from './request'

// 获取分类列表
export const getCategories = () => {
  return request.get('/categories')
}

// 获取Agent列表
export const getAgents = (params) => {
  return request.get('/agents', { params })
}

// 获取Agent详情
export const getAgentDetail = (agentId) => {
  return request.get(`/agents/${agentId}`)
}

// 获取热门工具
export const getHotTools = () => {
  return request.get('/hot-tools')
}

